package com.pearl.jacksoncore.demo.databind.anno;

import com.fasterxml.jackson.databind.annotation.JsonValueInstantiator;

/**
 * @author TD
 * @version 1.0
 * @date 2024/3/28
 */
@JsonValueInstantiator(MyValueInstantiator.class)
public class ValueInstantiatorVO {

    protected final String a;
    protected final int b;

    public ValueInstantiatorVO(String a, int b) {
        this.a = a;
        this.b = b;
    }

    @Override
    public String toString() {
        return "ValueInstantiatorVO{" +
                "a='" + a + '\'' +
                ", b=" + b +
                '}';
    }
}
